In window-related documentation write 'symbol' instead of 'constant'
authorMartin Rudalics <rudalics@gmx.at>
Sat, 16 Mar 2024 09:10:29 +0000 (10:10 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Sat, 16 Mar 2024 09:10:29 +0000 (10:10 +0100)
Suggested by Michael Heerdegen <michael_heerdegen@web.de>.

* src/window.c (window_restore_killed_buffer_windows): In
doc-string write 'symbol' instead of 'constant'.
* lisp/window.el (display-buffer--lru-window)
(display-buffer-use-least-recent-window): In doc-strings write
'symbol' instead of 'constant'.
* doc/lispref/windows.texi (Window Configurations): Write
'symbol' instead of 'constant'.

doc/lispref/windows.texi
lisp/window.el
src/window.c

index 8fa4e57b153140975ed6ecaa95a081b7fb643949..2e2fdee422b81720e3b786c00e208eb368b359ca 100644 (file)
@@ -6416,9 +6416,9 @@ on its frame), @code{set-window-configuration} and
 
 If the value of this variable is a function, that function should take
 three arguments.  The first argument specifies the frame whose windows
-have been restored.  The third argument is either the constant
+have been restored.  The third argument is either the symbol
 @code{configuration} if the windows are restored by
-@code{set-window-configuration}, or the constant @code{state} if the
+@code{set-window-configuration}, or the symbol @code{state} if the
 windows are restored by @code{window-state-put}.
 
 The second argument specifies a list of entries for @emph{all} windows
index 246708dbd56d1f2243727afa964fcbaf1ffd9b47..df55a7ca67374fba614a7dc8266d1b4cbfa7a0ac 100644 (file)
@@ -8668,11 +8668,11 @@ buffer.  ALIST is a buffer display action alist as compiled by
   use time is higher than this.
 
 - `window-min-width' specifies a preferred minimum width in
-  canonical frame columns.  If it is the constant `full-width',
+  canonical frame columns.  If it is the symbol `full-width',
   prefer a full-width window.
 
 - `window-min-height' specifies a preferred minimum height in
-  canonical frame lines.  If it is the constant `full-height',
+  canonical frame lines.  If it is the symbol `full-height',
   prefer a full-height window.
 
 If ALIST contains a non-nil `inhibit-same-window' entry, do not
@@ -8799,11 +8799,11 @@ Distinctive features are:
     call.
 
   `window-min-width' specifies a preferred minimum width in
-    canonical frame columns.  If it is the constant `full-width',
+    canonical frame columns.  If it is the symbol `full-width',
     prefer a full-width window.
 
   `window-min-height' specifies a preferred minimum height in
-    canonical frame lines.  If it is the constant `full-height',
+    canonical frame lines.  If it is the symbol `full-height',
     prefer a full-height window.
 
 - If the preceding steps fail, try to pop up a new window on the
index 2c00241860542477d544ebca0e1ae11c4d993787..b69f4719d93a7e29fa26d09e0bdea0b6af3763b4 100644 (file)
@@ -8707,8 +8707,8 @@ on its frame), show another buffer in it.
 
 If the value is a function, it should take three arguments.  The first
 argument specifies the frame whose windows have been restored.  The
-third argument is the constant `configuration' if the windows are
-restored by `set-window-configuration' and the constant `state' if the
+third argument is the symbol `configuration' if the windows are
+restored by `set-window-configuration' and the symbol `state' if the
 windows are restored by `window-state-put'.
 
 The second argument specifies a list of entries for all windows